package runtime //Package runtime import "xemo.top/docker/docker/api/types/swarm/runtime"
import "xemo.top/docker/docker/api/types"

// PluginSpec 定义客户端可以指定用于使用插件运行时创建服务的基本负载。
// PluginSpec defines the base payload which clients can specify for creating a service with the plugin runtime.
type PluginSpec struct {
	Name       string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Remote     string                   `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
	Privileges []*types.PluginPrivilege `protobuf:"bytes,3,rep,name=privileges" json:"privileges,omitempty"`
	Disabled   bool                     `protobuf:"varint,4,opt,name=disabled,proto3" json:"disabled,omitempty"`
}
